
  <div class="x_panel">
    <div class="x_content row">
      <div class="col-xs-12">
        <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
          <div class="form-group">
            <label class="control-label col-md-2 col-sm-4 col-xs-12">排序：</label>
            <div class="checkbox col-md-10 col-sm-8 col-xs-12">
              <input class="form-control-new col-md-3 col-xs-12" placeholder="数字越小，排序越靠前" required="required" type="text" name="form[category_sort]" value="{$category.category_sort}">
            </div>
            <label class="control-label col-md-2 col-sm-4 col-xs-12">广告图片：</label>
            <div class="col-md-10 col-sm-12 com-xs-12">
              {if $pic}<img style="width:100px;height:100px;" src="{$pic}"/>{/if}
              <input type="file" name="pic">
            </div>
          </div>
          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="category_id" type="hidden" value="{$category.category_id}">
            <button class="btn btn-primary" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div>
